package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ActivityTicketRecords对象", description="")
public class ActivityTicketRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "活动id")
    private Integer nodeId;

    @ApiModelProperty(value = "活动uuid")
    private String nodeUuid;

    @ApiModelProperty(value = "活动类型")
    private String nodeType;

    @ApiModelProperty(value = "1为收入 2为流出")
    private Boolean type;

    @ApiModelProperty(value = "剩余次数")
    private Integer total;

    @ApiModelProperty(value = "流水后的剩余数量")
    private Integer afterTotal;

    @ApiModelProperty(value = "变动描述")
    private String description;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "1为邀请基本奖励  2为邀请额外奖励 3为签到奖励")
    private Integer subType;


}
